Class IPCEventLTV

java.lang.Object
com.cisco.pt.impl.LTVImpl
com.cisco.pt.impl.IPCEventLTV
All Implemented Interfaces:
LTV

public class IPCEventLTV extends LTVImpl
Encapsulates IPC event PTMP message
Author:
packettracerexapps@external.cisco.com
  • Field Details

    • className

      protected String className
    • uuid

      protected UUID uuid
    • eventName

      protected String eventName
    • eventParameters

      protected List<Object> eventParameters
  • Constructor Details

    • IPCEventLTV

      public IPCEventLTV(String className, UUID uuid, String eventName, List<Object> eventParameters)
      Parameters:
      className - String
      uuid - UUID
      eventName - String
      eventParameters - List<Object>
  • Method Details

    • isEvent

      public boolean isEvent()
      Specified by:
      isEvent in interface LTV
      Overrides:
      isEvent in class LTVImpl
      Returns:
      true if the message is an event sent from Packet Tracer
    • encodeTypeAndPayload

      public void encodeTypeAndPayload(EncodedBuffer buff)
      Specified by:
      encodeTypeAndPayload in interface LTV
      Overrides:
      encodeTypeAndPayload in class LTVImpl
      Parameters:
      buff - The EncodedBuffer that this object should encode itself into
    • getClassName

      public String getClassName()
      Returns:
      className for this event
    • getUUID

      public UUID getUUID()
      Returns:
      UUID of the object associated with this event
    • getEventName

      public String getEventName()
      Returns:
      eventName for this event
    • getEventParameters

      public List<Object> getEventParameters()
      Returns:
      List of parameters returned with this event